package com.ticket.sass.provider.dto.input.tenant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ywb
 * @date 2024-03-29 14:13
 */
@Data
@ApiModel
public class TenantUpdInput {
    @NotNull(message = "租户ID不能为空")
    @ApiModelProperty(value = "租户ID")
    private Long id;
    @NotBlank(message = "租户名不能为空")
    @ApiModelProperty(value = "租户名")
    private String name;
    
    @ApiModelProperty(value = "是否启用")
    private Boolean enable;
    
    @Valid
    @ApiModelProperty(value = "小程序配置")
    private WxaConfigInput wxaConfig;
    
    @ApiModelProperty(value = "主题配置")
    private ThemeConfigInput themeConfig;

}
